import json

items = json.loads(
    '[{"id":1,"text":"item1"},{"id":2,"text":"item2"},{"id":3,"text":"item3"}]'
)

for item in items:
    print(item["text"])

fruits = ["apple", "banana", "cherry"]
for x in fruits:
    print(x)

for x in range(2, 6):
    print(x)
else:
    print("Finally finished!")

fruits = ["apple", "banana", "cherry"]
x = fruits.copy()
print(x)

a = ["apple", "banana", "cherry"]
b = ["Ford", "BMW", "Volvo"]
a.append(b)
print(a)


class Person:
    """_summary_"""

    name = "John"
    age = 36
    country = "Norway"


x = getattr(Person, "age")

print(x)
